package com.net.xpay.notify;


import com.net.xpay.notify.service.AlipayMsgService;
import com.net.xpay.notify.service.SafePayAlipayMsgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 程序入口
 */
@Service
public class JobEntry {

    @Autowired
    private AlipayMsgService alipayMsgService;

    @Autowired
    private SafePayAlipayMsgService safePayAlipayMsgService;


    public void start() throws Exception {
        alipayMsgService.start();

        safePayAlipayMsgService.start();
    }
}
